<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>HG CMS</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/admin_style.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/slide.css" />
<script src="__PUBLIC__/js/jquery-1.4.4.min.js"></script>
<script src="__PUBLIC__/js/iframe.js"></script>
<script src="__PUBLIC__/js/slide.js"></script>
</head>
<body class="right_body">
	<div class="body">
		<div class="top_subnav">CMS内容管理平台 ＞ 幻灯片管理</div>


		<div style="clear:both"></div>
		<div class="use_meth">
			<div class="title">
				<div class="title_info light">
					幻灯片管理
				</div>
			</div>
			<div class="searchzone">
<table border="0" cellpadding="0" cellspacing="0" height="30" width="100%">
  <tbody>
  <tr>
    <td height="30"></td>
    <td colspan="2" align="right"><span class="piliang">
 	<foreach from="$slide" key="$k" value="$v">
     <input onclick="" value="{$v[0].SOLIDE_TITLE}" class="button" type="button" style="padding: 2px 5px;height:35px; "> 
	</foreach>

    </span></td>
  </tr></tbody></table></div>

<div class="formzone">
  <div class="tablezone">
<div class="noticediv" id="notice"></div>
<form action="" method="post" class="form-inline hd-form" enctype="multipart/form-data">
<foreach from="$slide" key="$k" value="$v">
 <!-- tab切换 -->

<div class="tab">
<table align="center" border="0" cellpadding="2" cellspacing="0" width="100%">
  <tbody>
  <tr>						
    <td align="center" height="30" width="100">幻灯片{$k}设置</td>
    <td align="left">
    <table id="" align="center" bgcolor="#a9c5d0" border="0" cellpadding="0" cellspacing="1" width="98%">
              <tbody>
              	<tr align="center" bgcolor="#F6F6F6">
                <td height="28" width="31%">图片</td>
                <td width="69%">上传 <span></td>
                <td>（注：单标签上限5张图，下限2张图）</span></td>
              </tr>

              <tr align="center" bgcolor="#F6F6F6">
                    <td height="28" width="31%">标签{$k}名称：</td>
                    <td width="69%" align="left"><input class="input" style="width:300px;margin-left:30px;" name="SOLIDE_TITLE{$k}[]" id="ImagePath0" value="{$v[0].SOLIDE_TITLE}" type="text">
                    	
                    </td>
                    <td><input type="button" value="增加一张轮播图" class="button addSlide" /></td>
              </tr>
			<foreach from="$slide[$k]" key="$key" value="$val">
              <tr align="center" bgcolor="#FFFFFF" class="content">
            	<td class="pic"><img id="img0" src="__ROOT__/{$val.SOLIDE_IMG_URL}" height="120px" width="160px"></td>
                <td align="left"><table border="0" cellpadding="0" cellspacing="2" width="75%">                
                  <tbody>
                  	
                  <tr>
                    <td align="right" width="18%">图片地址：</td>
                    <td width="82%"><input class="input" style="width:300px" name="SOLIDE_IMG_URL{$k}[]" id="ImagePath0" value="{$val.SOLIDE_IMG_URL}" type="text"></td>
                  </tr>
                  <tr>
                    <td align="right" width="18%">背景颜色：</td>
                    <td width="82%"><input class="input" style="width:300px" name="SOLIDE_IMG_BGCOLOR{$k}[]" id="ImagePath0" value="{$val.SOLIDE_IMG_BGCOLOR}" type="text"></td>
                  </tr>
                  <tr>
                    <td align="right" valign="top">上传：</td>
                    <td><input type="file" height="40" width="100%" name =SOLIDE_UP_IMG_URL{$k}[] ></td>
                  </tr>
                  <tr>
                    <td align="right">链接地址：</td>
                    <td><input class="input" style="width:60%" name="SOLIDE_URL{$k}[]" value="{$val.SOLIDE_URL}" type="text">空链接则填"#"</td>
                  </tr>
                  <tr>
                    <td align="right">说明文字： </td>
                    <td><input class="input" style="width:80%" name="SOLIDE_DESCRIPT{$k}[]" value="{$val.SOLIDE_DESCRIPT}" type="text"></td>
                    
                  </tr>
                </tbody></table></td>
                <td><input type="button" value="删除" class="button delSlide" /></td>
              </tr>
        
              </foreach>
            
                                      
            </tbody></table>    </td>
  </tr>

 </tbody></table>
 </div>
 <!-- tab切换 -->
 </foreach>
 

 
</div>
<div class="adminsubmit">
<input class="button" value="保存" type="submit">
<input onclick="" value="刷新" class="button" type="button"> 
</div></div>
		</div>
			<p class="line">
			</p>
</form>
	</div>
</body>
</html>
